package net.lab1024.sa.admin.module.business.erp.dao;

import java.util.List;

import net.lab1024.sa.admin.module.business.erp.domain.entity.AccountbEntity;
import net.lab1024.sa.admin.module.business.erp.domain.entity.AccountcEntity;
import net.lab1024.sa.admin.module.business.erp.domain.entity.WageEntity;
import net.lab1024.sa.admin.module.business.erp.domain.entity.WageaEntity;
import net.lab1024.sa.admin.module.business.erp.domain.form.query.WageQueryForm;
import net.lab1024.sa.admin.module.business.erp.domain.vo.WageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 工资 Dao
 *
 * @Author AKITA
 * @Date 2025-04-19 13:22:18
 * @Copyright AKITA
 */

@Mapper
public interface WageDao extends BaseMapper<WageEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<WageVO> queryPage(Page page, @Param("queryForm") WageQueryForm queryForm);

    List<WageaEntity> countCost(@Param("absId") Integer absId);

    List<AccountbEntity> shareDao(@Param("docEntry") Long docEntry);

    List<AccountcEntity> shareaDao(@Param("docEntry") Long docEntry);
}
